package bscorp.appbase.model;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.util.Date;

/**
 * 工单操作表
 */
@DatabaseTable
public class Operate {
    @DatabaseField(generatedId = true)
    int id;
    /**
     * 操作工单
     */
    @DatabaseField
    int orderId;
    /**
     * 操作用户
     */
    @DatabaseField
    String user;
    /**
     * 操作用户
     */
    @DatabaseField
    String userPhone;
    /**
     * 操作时间
     */
    @DatabaseField
    Date time;
    /**
     * 操作描述
     */
    @DatabaseField
    String description;
    /**
     * 操作结果
     */
    @DatabaseField
    String result;

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }
}